home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
redakcyjne
/
programy
/
PSPad editor 4.5.4 build 2356 beta
/
pspad454inst_en.exe
/
{app}
/
Context
/
MSSQL.DEF
< prev
next >
Wrap
Text File
|
2006-07-06
|
5KB
|
202 lines
; PSPad clip definition file for SQL (MSSQL 7)
; author: Willem Bogaerts
; last revision 2006-06-09
;
[@@CURSOR_ROWS | @@CURSOR_ROWS]
@@CURSOR_ROWS
[@@ERROR | @@ERROR]
@@ERROR()
[@@FETCH_STATUS | @@FETCH_STATUS (0 when successful)]
@@FETCH_STATUS
[@@IDENTITY | Last inserted autonumber in a session]
@@IDENTITY
[@@ROWCOUNT | Number of affected or found rows]
@@ROWCOUNT
[AS | AS keyword]
AS º|
[BIGINT | BIGINT data type]
BIGINT
[BIT | BIT data type]
BIT
[BEGIN TRANSACTION | BEGIN TRANSACTION]
BEGIN TRANSACTION
[BETWEEN | BETWEEN keyword]
BETWEEN º AND |
[CAST | CAST]
CAST(º AS |)
[CAST as self | CAST without dropping the name from the results]
CAST(º AS |) AS º
[CAST AS VARCHAR(255) | Repair for unsupported types in VBScript, like BIGINT]
CAST(º AS VARCHAR(255)) AS º
[CLOSE | Close a cursor]
CLOSE º
DEALLOCATE º|
[COMMIT | COMMIT]
COMMIT
[COUNT | COUNT]
COUNT(º|)
[CREATE FUNCTION | CREATE FUNCTION]
CREATE FUNCTION dbo.º(|) RETURNS INT
AS
BEGIN
RETURN 0
END
GO
[CREATE INDEX | CREATE INDEX]
CREATE INDEX º ON |()
[CREATE PROCEDURE | CREATE PROCEDURE]
CREATE PROCEDURE dbo.º(|)
AS
GO
[CREATE TABLE | CREATE TABLE]
CREATE TABLE º
(|)
[CREATE TRGGER | CREATE TRGGER]
CREATE TRIGGER º
ON |
FOR UPDATE
AS
[CREATE UNIQUE INDEX | CREATE UNIQUE INDEX]
CREATE UNIQUE INDEX º| ON ()
[CURRENT_USER | CURRENT_USER]
CURRENT_USER
[CVS Keywords Header | CVS Keywords Header]
-- $Revision: $
-- $Date: $
-- $Author: $
[DATEADD | DATEADD]
DATEADD(|, º, )
[DATETIME | DATETIME]
DATETIME
[DB_NAME | Database name]
DB_NAME(º)|
[DECLARE | DECLARE]
DECLARE º |
[DECLARE CURSOR | Cursor declaration]
DECLARE º CURSOR FOR
|
[DELETE | DELETE]
DELETE FROM º WHERE |
[DROP DATABASE | Delete a database]
DROP DATABASE º|
[DROP FUNCTION | Delete a function]
DROP FUNCTION º|
[DROP INDEX | Delete an index]
DROP INDEX º|
[DROP PROCEDURE | Delete a stored procedure]
DROP PROCEDURE º|
[DROP TABLE | DROP TABLE]
DROP TABLE º|
[EXEC | EXECute a stored procedure]
EXEC º |
[EXECUTE | EXECUTE a stored procedure]
EXECUTE º |
[GETDATE() | GETDATE()]
GETDATE()|
[FETCH NEXT| Fetch next record from a cursor]
FETCH NEXT FROM º INTO |
[Field comment | Add a comment to a field.]
EXECUTE sp_addextendedproperty N'MS_Description', N'º', N'SCHEMA', N'dbo', N'TABLE', N'|', N'COLUMN', N''
[FROM | FROM clause]
FROM º|
[IF | IF]
IF º
BEGIN
|
END
[IF ELSE | IF statement with ELSE clause]
IF º
BEGIN
|
END
ELSE
BEGIN
END
[INNER JOIN | INNER JOIN]
INNER JOIN º ON (º.|=)
[INSERT SELECT | INSERT selection from other table(s)]
INSERT INTO º SELECT | FROM
[INSERT VALUES | INSERT values]
INSERT INTO º(|) VALUES()
[INT | INT]
INT
[ISDATE | Check is date conversion is possible]
ISDATE(º|)
[ISNULL | Filter function for NULL values]
ISNULL(º, |)
[ISNUMERIC | Check if numeric conversion is possible]
ISNUMERIC(º|)
[LEFT | Left part of a string]
LEFT(º, |)
[LEFT JOIN | LEFT JOIN]
LEFT JOIN º ON (º.|=)
[LEN | Length of a string]
LEN(º|)
[LIKE | Like operator]
º LIKE |
[LOWER | Convert to lower case]
LOWER(º|)
[NOT | Boolean not]
NOT º|
[NTEXT | NTEXT data type]
NTEXT
[NULLIF | The first parameter or NULL if parameters are equal]
NULLIF(º, |)
[NVARCHAR() | NVARCHAR()]
NVARCHAR(º|)
[OPEN | Open a cursor]
OPEN º|
[ORDER BY | ORDER BY]
ORDER BY º|
[Primary key suffix | Primary key suffix for CREATE TABLE commands]
INT IDENTITY NOT NULL PRIMARY KEY
[RAISERROR | Raise an error]
RAISERROR(º|)
[RETURN | RETURN]
RETURN º
[RIGHT JOIN | RIGHT JOIN]
RIGHT JOIN º ON (º.|=)
[ROLLBACK | ROLLBACK]
ROLLBACK
[SCOPE_IDENTITY | Last inserted autonumber withing a procedure]
SCOPE_IDENTITY()
[SELECT * | SELECT *]
SELECT * FROM º WHERE |
[SELECT = | SELECT for assigning values]
SELECT º=|
[SET | SET a variable]
SET º = |
[SET IDENTITY_INSERT OFF | SET IDENTITY_INSERT OFF]
SET IDENTITY_INSERT º| OFF
[SET IDENTITY_INSERT ON | SET IDENTITY_INSERT ON]
SET IDENTITY_INSERT º| ON
[ToDo | ToDo comment to search on]*CTRL+ALT+SHIFT+T
-- ToDo [%UserName%]: º|
[TOP | Limit the number of rows returned.]
TOP º|
[TRUNCATE TABLE | TRUNCATE TABLE]
TRUNCATE TABLE º|
[UPDATE | UPDATE]
UPDATE º SET |
[UPPER | Convert to upper case]
UPPER(º|)
[VARCHAR() | VARCHAR()]
VARCHAR(º|)
[WHERE | WHERE]
WHERE º|
[WHERE CURRENT OF | At the position of a cursor]
WHERE CURRENT OF º|
[WHILE | WHILE]
WHILE º
BEGIN
|
END
[WITH(NOLOCK) | Table hint to prevent locks]
WITH(NOLOCK)
[YEAR | YEAR part of a date, as integer]
YEAR(º|)